Optimal. Leaf size=82 \[ \frac {2 \cos ^{\frac {3}{2}}(c+d x) \csc (c+d x) F\left (\text {ArcSin}\left (\frac {\sqrt {3-2 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|-\frac {1}{5}\right ) \sqrt {-\tan ^2(c+d x)}}{\sqrt {5} d \sqrt {-\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2896, 2894}
\begin {gather*} \frac {2 \cos ^{\frac {3}{2}}(c+d x) \sqrt {-\tan ^2(c+d x)} \csc (c+d x) F\left (\text {ArcSin}\left (\frac {\sqrt {3-2 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|-\frac {1}{5}\right )}{\sqrt {5} d \sqrt {-\cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2894
Rule 2896
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {3-2 \cos (c+d x)} \sqrt {-\cos (c+d x)}} \, dx &=\frac {\sqrt {\cos (c+d x)} \int \frac {1}{\sqrt {3-2 \cos (c+d x)} \sqrt {\cos (c+d x)}} \, dx}{\sqrt {-\cos (c+d x)}}\\ &=\frac {2 \cos ^{\frac {3}{2}}(c+d x) \csc (c+d x) F\left (\sin ^{-1}\left (\frac {\sqrt {3-2 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|-\frac {1}{5}\right ) \sqrt {-\tan ^2(c+d x)}}{\sqrt {5} d \sqrt {-\cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.43, size = 146, normalized size = 1.78 \begin {gather*} \frac {4 \sqrt {\cot ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {(3-2 \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {-\cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )} \csc (c+d x) F\left (\left .\text {ArcSin}\left (\frac {\sqrt {\frac {\cos (c+d x)}{-1+\cos (c+d x)}}}{\sqrt {3}}\right )\right |6\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{d \sqrt {3-2 \cos (c+d x)} \sqrt {-\cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 107, normalized size = 1.30
method | result | size |
default | \(\frac {2 i \EllipticF \left (\frac {i \left (-1+\cos \left (d x +c \right )\right ) \sqrt {5}}{\sin \left (d x +c \right )}, \frac {i \sqrt {5}}{5}\right ) \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {3-2 \cos \left (d x +c \right )}\, \sqrt {5}}{5 d \sqrt {-\frac {2 \left (-3+2 \cos \left (d x +c \right )\right )}{1+\cos \left (d x +c \right )}}\, \sqrt {-\cos \left (d x +c \right )}}\) | \(107\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \cos {\left (c + d x \right )}} \sqrt {3 - 2 \cos {\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\sqrt {-\cos \left (c+d\,x\right )}\,\sqrt {3-2\,\cos \left (c+d\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________